package sapling.dao;

import sapling.model.Role;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by ever on 2016/10/9.
 */
public interface RoleDao extends JpaRepository<Role, Long> {

   Role findOneByName(String name);
}
